//
//  ViewController.m
//  Test
//
//  Created by cjs on 2017/8/1.
//  Copyright © 2017年 dave. All rights reserved.
//

#import "ViewController.h"
#import "HttpTestViewController.h"
#import "DatePickerViewController.h"
#import "YYKitMacro.h"

#define dd @autoreleasepool{} NSLog(@"这么坑");
@interface ViewController ()

@property (weak, nonatomic) IBOutlet UIButton *button;

@end

@implementation ViewController

- (void)viewDidLoad {
    [super viewDidLoad];
    // Do any additional setup after loading the view, typically from a nib.
}


- (void)didReceiveMemoryWarning {
    [super didReceiveMemoryWarning];
    // Dispose of any resources that can be recreated.
}

- (IBAction)buttonTaped:(UIButton *)sender {
//    HttpTestViewController *httpTestVC = [[HttpTestViewController alloc] init];
//    [self showViewController:httpTestVC sender:nil];
    
    DatePickerViewController *datePickerVC = [[DatePickerViewController alloc] init];
    [self showViewController:datePickerVC sender:nil];
}

@end
